import 'package:flutter/material.dart';
import 'package:news_flutter/utils/precompile.dart';

class MyDiver extends StatelessWidget {
  final double height;
  final Color color;
  const MyDiver({Key key, this.height =0.5, this.color = MyColor.DIVER_LINE_GRAY}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Container(
      height: height,
      width: double.infinity,
      color: color,
    );
  }
}
